home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20020314-20021006 / 000021_the.earth.below@play.net_Fri Apr 5 09:13:50 EST 2002.msg < prev    next >
Text File  |  2020-01-01  |  4KB  |  94 lines

  1. Article: 13292 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!news.cs.columbia.edu!peerfeed.news.psi.net!unlisys!news.snafu.de!isdnet!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
  3. From: the.earth.below@play.net (Dark Moon)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: Building Kermit 8.0.201 on Irix 6.5
  6. Date: Thu, 04 Apr 2002 21:42:10 -0800
  7. Organization: Less and less each day..
  8. Message-ID: <ykTr8AeH4m+a.fHR9ssFH6H2M@play.net>
  9. MIME-Version: 1.0
  10. Content-Type: text/plain; charset=ISO-8859-1
  11. Content-Transfer-Encoding: 8bit
  12. References: <RV+q8AeH4usM092yn@cinenet.net>
  13.  <a8hnld$i68$1@watsol.cc.columbia.edu>
  14. X-Newsreader: Yarn 0.92 with YES 0.22
  15. X-Posting-Agent: UQWK 3.10devel/nntp+auth/nntp posting/scoring
  16. X-Complaints-To: newsabuse@supernews.com
  17. Lines: 74
  18. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13292
  19.  
  20. As seen from comp.protocols.kermit.misc, on
  21. 4 Apr 2002 09:23:41 -0500, fdc@columbia.edu (Frank da Cruz) wrote:
  22.  
  23. >In article <RV+q8AeH4usM092yn@cinenet.net>,
  24. >Dark Moon  <the.earth.below@cinenet.net> wrote:
  25. >: I've tried cc and gcc both.  Here are some results:
  26. >: 
  27. >I built it on IRIX 6.5 too, using the regular "make irix65" target,
  28. >with no errors; you can find the resulting binary at:
  29.  
  30. Well, I found the source of that problem, and it was a little
  31. surprising:  I can only guess that extracting the kermit archive put me
  32. over quota (though du shows otherwise), so a number of files came out
  33. 0-byte.  There is enough room in /tmp to build in, though.
  34.  
  35. Now for the next problem.  The SGI 'cc' can't seem to find 'wopt.so',
  36. which it needs for optimizing options such as -O and -O3.  When I build
  37. I get:
  38.  
  39. {shell01:19:1} /var/tmp/kermit>make irix65
  40. Making C-Kermit "8.0.201" for SGI IRIX 6.5
  41. Includes fullscreen file display and Yellow Pages...
  42. Add -mips<n> to specify a particular hardware target.
  43.         make xermit KTARGET=${KTARGET:-irix6x} \
  44.         "CFLAGS = -O3 -DSVR4 \
  45.         -DDIRENT -DNOGETUSERSHELL \
  46.         -DPWID_T=uid_t -DCK_ANSIC -DNOLISTEN -DIRIX65  -DNOLATIN2 -DNOHEBREW -DN
  47. OKANJI -DNOCYRIL -DNOUNICODE -DNOLOCAL -DNONET -DNOHELP -DNODEBUG -DNOFTP -DNOHT
  48. TP -OPT:Olimit=0 -woff 1110,1552,1174 "
  49.         cc -O3 -DSVR4 -DDIRENT -DNOGETUSERSHELL -DPWID_T=uid_t -DCK_ANSIC -DNOLI
  50. STEN -DIRIX65  -DNOLATIN2 -DNOHEBREW -DNOKANJI -DNOCYRIL -DNOUNICODE -DNOLOCAL -
  51. DNONET -DNOHELP -DNODEBUG -DNOFTP -DNOHTTP -OPT:Olimit=0 -woff 1110,1552,1174  -
  52. DKTARGET=\"irix65\" -c ckcmai.c
  53. Error loading wopt.so: 4318075:/usr/lib32/cmplrs/be: rld: Fatal Error: Cannot Su
  54. ccessfully map soname 'wopt.so' under any of the filenames /usr/lib32/wopt.so:/u
  55. sr/lib32/internal/wopt.so:/lib32/wopt.so:/opt/lib32/wopt.so:
  56. *** Error code 2 (bu21)
  57. *** Error code 1 (bu21)
  58. *** Error code 1 (bu21)
  59. {shell01:20:1} /var/tmp/kermit>
  60.  
  61. Now, I was able to find wopt.so in another directory.  Tech support
  62. told me to use -rpath to tell the compiler where it is, but that didn't
  63. seem to work, as I got the same exact error.  I also tried with the
  64. makefile entry unmodified as it comes "out of the box", with the same
  65. results.  I've asked tech support to create a symlink so that the
  66. compiler can find this library-- I don't know if they will do it, or if
  67. it will help if they do.
  68.  
  69. I then tried the irix64gcc entry, both unmodified and like this:
  70.  
  71. irix65gcc:
  72.         @echo 'Making C-Kermit $(CKVER) for Silicon Graphics IRIX 6.5 gcc'
  73.         $(MAKE) xermit KTARGET=$${KTARGET:-$(@)} "CC = gcc" "CC2 = gcc" \
  74.         "CFLAGS= -O3 -DSVR4 -DIRIX65 -DNOCOTFMC -DNOLISTEN -DNOGREEK \
  75.         -DNOLATIN2 -DNOHEBREW -DNOKANJI -DNOFTP -DNOHTTP -DNOHELP \
  76.         -DNOCYRIL -DNOUNICODE -DNOLOCAL -DNONET -DNODEBUG -DSELECT \
  77.         -DFNFLOAT $(KFLAGS)" LIBS="-lm"
  78.  
  79. I tried without -DSELECT and -DFNFLOAT, then added them in.  In all
  80. cases Kermit built successfully and without errors, but I noticed some
  81. problems right away with the ICP: the 'dir' command doesn't work, and
  82. neither does tab-filename completion.  Just to be sure, I built this
  83. same verson (201) on Solaris 2.6 with gcc, and these features worked
  84. just fine.
  85.  
  86. The file transfer protocol engine seems to work fine, at least.  I
  87. haven't yet tried running my scripts on it-- I'm hoping no strangeness
  88. turns up there.
  89.  
  90. Thanks again for all of your help, both with this problem and over the
  91. years.
  92.  
  93. Jeff
  94.